package imdbfolder.gui.util;

import java.awt.Cursor;

import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JLabel;

public class IconLink extends JLabel {

    private static final long serialVersionUID = 1L;

    public IconLink(Icon icon) {
        super(icon);

        setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
    }

    public IconLink(ImageIcon imageIcon, String string) {
        this(imageIcon);

        setText(string);
    }
}
